<template>
	<view>
		<cu-custom :isBack="true" bgColor="bg-white solids-bottom">
			<block slot="content">
				注册
			</block>
		</cu-custom>
		<view class="zai-box">
			<image src="../../static/logo3.png" mode='aspectFit' class="zai-logo"></image>
			<view class="zai-form">
				<uniInput :before="'请输入用户名'" :after="'用户名'" :name="'invoice_title'"></uniInput>
				<uniInput :before="'请输入密码'" :after="'密码'" :name="'invoice_title'" :password="true"></uniInput>
				<uniInput :before="'请再输入一次密码'" :after="'确认密码'" :name="'invoice_title'" :password="true"></uniInput>
				<button class="zai-btn">注册</button>
				<navigator url="../login/login" open-type='navigateBack' hover-class="none" class="zai-label">已有账号，点此去登录.</navigator>
			</view>
		</view>
	</view>
</template>

<script>
	import uniInput from '../../components/hnfly-input/uni-input.vue';
	export default {
		data() {
			return {
			}
		},
		components: {
			uniInput
		},
	}
</script>

<style>
	.zai-box{
		padding: 0 100upx;
		position: relative;
	}
	.zai-logo{
		width: 100%;
		height: 144upx;
		margin-top: 100upx;
	}
	.zai-title{
		position: absolute;
		top: 0;
		line-height: 360upx;
		font-size: 68upx;
		color: #fff;
		text-align: center;
		width: 100%;
		margin-left: -100upx;
	}
	.zai-form{
		margin-top: 100upx;
	}
	.zai-label{
		padding: 60upx 0;
		text-align: center;
		font-size: 30upx;
		color: #a7b6d0;
	}
	.zai-btn{
		background: #ff7777;
		color: #fff;
		border: 0;
		border-radius: 100upx;
		font-size: 36upx;
		margin-top: 60upx;
	}
	.zai-btn:after{
		border: 0;
	}
	/*按钮点击效果*/
	.zai-btn.button-hover{
		transform: translate(1upx, 1upx);
	}
</style>
